package com.ejiaoyi.api.enums;

/**
 * 功能描述：返回信息
 *
 * @Created by 2018-06-12 12:44
 */
public enum ResultInfoEnum {
    SUCCESS(0, "成功"),
    SYSTEM_ERROR(-1, "系统异常，稍后重试"),
    RES_MAC_ERROR(-1, "验签失败");


    ResultInfoEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 标识
     */
    private int code;

    /**
     * 信息
     */
    private String msg;

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
